<?php 
/**
   Template: Page for Projects
 * Concept: Page with left sidebar
 * Copyright 2011 www.gradientpixels.ca
 * Theme: Incantation
 */

get_header(); ?>

<div id="content-wrapper" class="clearfix" >
	<div class="w960">
		<?php get_template_part( 'inc/sidebar-page-left'); ?>	
		
			<div id="content-right"role="main">
				<?php the_post(); ?>
					<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
						<header class="entry-header">
							<h1 class="entry-title"><?php the_title(); ?></h1>
						</header><!-- .entry-header -->
	
							<div class="entry-content">
<script type='text/javascript' src='http://www.google.com/jsapi'></script><script type='text/javascript' src='http://royalgroup.codeforart.com/wp-content/plugins/mappress-google-maps-for-wordpress/mappress_lib.min.js?version=2.38'></script><script type='text/javascript' src='http://royalgroup.codeforart.com/wp-content/plugins/mappress-google-maps-for-wordpress/mappress.min.js?version=2.38'></script><script type='text/javascript'>/* <![CDATA[ */ var mappl10n = {"maps_in_post":"Maps in this post","no_maps_in_post":"There are no maps yet for this post","create_map":"Create a new map","map_id":"Map ID","untitled":"Untitled","dir_not_found":"The starting or ending address could not be found.","dir_zero_results":"Google cannot return directions between those addresses.  There is no route between them or the routing information is not available.","dir_default":"Unknown error, unable to return directions.  Status code = ","enter_address":"Enter address","no_address":"No matching address","did_you_mean":"Did you mean: ","directions":"Directions","edit":"Edit","save":"Save","cancel":"Cancel","del":"Delete","view":"View","back":"Back","insert_into_post":"Insert into post","select_a_map":"Select a map","title":"Title","delete_prompt":"Delete this map marker?","delete_map_prompt":"Delete this map?","map_saved":"Map saved","map_deleted":"Map deleted","ajax_error":"Error: AJAX failed!  ","click_and_drag":"Click & drag to move this marker","zoom":"Zoom","traffic":"Traffic","standard_icons":"Standard icons","my_icons":"My icons"};var s = document.createElement('LINK'); s.rel = 'stylesheet'; s.type = 'text/css';s.href = 'http://royalgroup.codeforart.com/wp-content/plugins/mappress-google-maps-for-wordpress/css/mappress.css?version=2.38'; document.getElementsByTagName('head').item(0).appendChild(s); /* ]]> */</script><script type='text/javascript'>/* <![CDATA[ */var mapdata = {"mapid":"1","width":"760","height":"480","zoom":11,"center":{"lat":49.1677875688,"lng":-123.103866577},"mapTypeId":"roadmap","title":"Vancouver","metaKey":null,"pois":[]};var options = {"directions":"inline","directionsServer":"maps.google.com","mapTypeControl":true,"streetViewControl":false,"scrollwheel":false,"keyboardShortcuts":false,"navigationControlOptions":{"style":0},"overviewMapControl":true,"overviewMapControlOptions":{"opened":false},"initialOpenInfo":false,"initialOpenDirections":false,"country":"","language":"","traffic":false,"initialTraffic":false,"tooltips":true,"alignment":"center","autodisplay":"top","editable":false,"mapName":"mapp0","postid":null,"postTypes":["page"],"geoRSS":false,"control":true,"poiList":false,"poiListTemplate":"<td class='mapp-marker'>[icon]<\/td><td><b>[title]<\/b>[directions]<\/td>","metaKey":null,"metaSyncSave":true,"metaSyncUpdate":true,"metaKeyErrors":null,"mapSizes":[{"label":null,"width":300,"height":300},{"label":null,"width":425,"height":350},{"label":null,"width":640,"height":480}],"border":{"style":"","width":"1px","radius":"","color":"#000000","shadow":false},"demoMap":true,"user":true,"userInitial":false,"userCenter":false,"userTitle":"Your location","userBody":null};var mapp0 = new MappMap(mapdata, options);mapp0.display();/* ]]> */</script><div class='mapp-container' style='width:760px; margin-left:auto !important; margin-right:auto !important; '><div class='mapp-canvas-panel' style='width:760px; height:480px; '><div id='mapp0' class='mapp-canvas' style='width:760px; height:480px; '></div></div>
			<div id='mapp0_directions' class='mapp-directions'>
				<form action=''>
					<table>
						<col class='mapp-directions-table-col1'/>
						<col/>
						<tr>
							<td colspan='2'>
								<span id='mapp0_car_button' class='mapp-car-button mapp-travelmode selected' title='By car' ></span>
								<span id='mapp0_walk_button' class='mapp-walk-button mapp-travelmode' title='Walking' ></span>
								<span id='mapp0_bike_button' class='mapp-bike-button mapp-travelmode' title='Bicycling' ></span>

							</td>
						</tr>
						<tr>
							<td>
								<span class='mapp-a' title='Start'></span>
							</td>
							<td>
								<input style='width:90%' type='text' id='mapp0_saddr' value='' />
							</td>
						</tr>
						<tr>
							<td><span class='mapp-swap' id='mapp0_addrswap' title='Swap start and end'></span></td>
							<td>
								<span id='mapp0_saddr_corrected' class='mapp-address-corrected'></span>
							</td>
						</tr>
						<tr>
							<td><span class='mapp-b' title='End'></span></td>
							<td><input style='width:90%' type='text' id='mapp0_daddr' value='' /></td>
						</tr>
						<tr>
							<td></td>
							<td><span id='mapp0_daddr_corrected' class='mapp-address-corrected'></span></td>
						</tr>
					</table>
					<p>
						<input type='submit' class='mapp-button' value='Get Directions' id='mapp0_get_directions' />
						<input type='button' class='mapp-button' value='Print Directions' id='mapp0_print_directions' />
						<input type='button' class='mapp-button' value ='Close' id='mapp0_close_directions' />
					</p>
				</form>
				<div id='mapp0_directions_renderer'></div>
			</div>
		</div>
							</div><!-- .entry-content -->
						
						<footer class="entry-meta">
							<?php edit_post_link( __( 'Edit', 'gp' ), '<span class="edit-link">', '</span>' ); ?>
						</footer><!-- .entry-meta -->
						
					</article><!-- #post-<?php the_ID(); ?> -->
				<?php if ( of_get_option('page_comments') ) { // Shows or hides this group ?>
					<?php comments_template( '', true ); ?>
				<?php } ?>
			</div><!-- #content-right -->

	</div><!-- .w960 -->
</div><!-- #content-wrapper -->		

<?php get_footer(); ?>